<?php  if ( ! defined('DIR_ROOT')) exit(NO_SCRIPT_ALLOW_NOTICE);


class Controller extends CK_Base {

	/**
	 * Constructor
	 *
	 * Calls the initialize() function
	 */
	function Controller()
	{	
		parent::CK_Base();
		$this->_ck_initialize();
		logger('debug', "Controller Class Initialized");
	}

	function _ck_initialize()
	{
		$classes = array(
							'uri'		=> 'URI',
							'router'	=> 'Router'
							);
		foreach ($classes as $var => $class)
		{
			$this->$var =& load_class($class);
		}
	}
	
}
/*END*/

